//***************************************************************
//  File:    SceneMIMEHandler.h
//  Date:    5/19/2009
//  Author:  wanglei (wanglei010407@163.com)
//-------------------------------------------------------------
//
//-------------------------------------------------------------
//  This file is part of Hare2D Game Engine.
//  Copyright (C) All Rights Reserved
//***************************************************************
//
//***************************************************************
#ifndef _SCENEMIMEHANDLER_H_
#define _SCENEMIMEHANDLER_H_

#include <wx/harecanvas.h>
#include <wx/tglbtn.h>

#include "graphics/GameObject.h"


class SceneMIMEHandler : public MIMEHandlerPlugin
{
public:
    SceneMIMEHandler();

    virtual bool canHandle(const wxString& filename) const;
    virtual bool openFile(const wxString& filename);

    bool newPageScene(SceneManager* scene, bool isModified = true);
	bool newPageGameObject(GameObject* obj, bool isModified = true);
};

#endif
